import http from "@/utils/http";

//银行到款列表
export const getList = (params) => {
    return http.get("/feemanage/cwincome/list", params);
  };

//银行到款详情
export const getInfo = (params) => {
  return http.get("/feemanage/cwincome/getInfo", params);
};

//新增
export const addincome = (params) => {
  return http.post("/feemanage/cwincome/add", params);
};

//编辑
export const editincome = (params) => {
  return http.post("/feemanage/cwincome/edit", params);
};

//删除
export const delincome = (id) => {
  return http.del(`/feemanage/cwincome/remove/${id}`);
};

//获取项目列表
export const getprolist = (params) => {
  return http.get("/feemanage/cwincome/selectVproject", params);
};

//检查项目是否满足认领要求
export const checkproject = (params) => {
  return http.get("/feemanage/cwincome/checkproject", params);
};

//获取初始化项目值
export const getClaimFeeInfo = (params) => {
  return http.get("/feemanage/cwincome/getClaimFeeInfo", params);
};

//获取初始化预算科目费
export const getBudegt = (params) => {
  return http.get("/feemanage/cwincome/getSplitBudgetFee", params);
};

//获取初始化管理费
export const getManage = (params) => {
  return http.get("/feemanage/cwincome/getSplitManageFee", params);
};